package org.demis.dwarf.core.object;

import java.util.ArrayList;
import java.util.List;

public class Id {

    private List<RawAttribute> rawAttributes = new ArrayList<RawAttribute>();
    
    private Entity owner;
    
    private String name;
    
    public Id() {
        // no op
    }

    public Entity getOwner() {
        return owner;
    }

    public void setOwner(Entity owner) {
        this.owner = owner;
    }

    public List<RawAttribute> getRawAttributes() {
        return rawAttributes;
    }

    public void setRawAttributes(List<RawAttribute> rawAttributes) {
        this.rawAttributes = rawAttributes;
    }

    public void addRawAttributes(RawAttribute rawAttribute) {
        this.rawAttributes.add(rawAttribute);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
